import React from 'react';
import {
    Row,
    Col,
    Table,
} from 'antd';
import "../common.less"

export default class StationQuery extends React.Component{
    constructor(props){
        super(props);
        this.state={
            dataSource:[],
            loading:false,
        };
    };

    componentDidMount(){
        
            };
        
    render(){
        const scroll={
            y:600
        };
        const column=[
            {
              title:"城市名",
              dataIndex:""  
            },
            {
                title:"车站名",
                dataIndex:""  
              },
              {
                title:"地址",
                dataIndex:""  
              },
              {
                title:"电话",
                dataIndex:""  
              },
              {
                title:"订票时段",
                dataIndex:""  
              },
              {
                title:"预售期",
                dataIndex:""  
              }
        ]
        return(
            <div className="orderinfo">
                <Row gutter={8} style={{marginTop:'20px'}}>
                    <Col span={24}>
                      <Table className="center"
                         {...this.state}
                          border={true}
                          columns={column}
                          scroll={scroll}
                      />
                    </Col>
                </Row>
            </div>
        )
    }
}